package com.yango.logistics.service.impl;

import com.yango.logistics.pojo.Logistics;
import com.yango.logistics.service.LogisticsService;
import com.yango.product.pojo.Product;
import org.springframework.stereotype.Service;

@Service
public class LogisticsServiceImpl implements LogisticsService {
    @Override
    public Logistics createLogistics(Long orderId) {
        Logistics logistics = new Logistics();
        logistics.setOrderId(orderId);
        logistics.setCompany("顺丰");
        logistics.setConsignee("张三");
        logistics.setPhone("13888888888");
        logistics.setAddress("上海");
        logistics.setStatus("在途中");
        logistics.setLocation("北京");
        logistics.setUpdateTime("2020-01-01 00:00:00");
        return logistics;
    }
}
